package com.xd.center.api.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@ApiModel(value = "小区案例")
@JsonInclude(JsonInclude.Include.NON_NULL)
@EqualsAndHashCode(callSuper=false)
public class CommunityCase implements Serializable {

  @ApiModelProperty(value = "城市编码")
  private String cityCode;
  @ApiModelProperty(value = "小区ID")
  private String communityId;
  @ApiModelProperty(value = "案例地址")
  private String address;
  @ApiModelProperty(value = "小区名称")
  private String communityName;
  @ApiModelProperty(value = "楼栋类型")
  @JSONField(name = "buildingtype")
  private String buildingType;
  @ApiModelProperty(value = "单价（元/平方米）")
  @JSONField(name = "sqmprice")
  private Double price;
  @ApiModelProperty(value = "总价")
  @JSONField(name = "totalprice")
  private Double totalPrice;
  @ApiModelProperty(value = "朝向（北、东、东北、东南、东西、南、南北、西、西北、西南）")
  private String aspect;
  @ApiModelProperty(value = "建成年份")
  @JSONField(name = "buildyear")
  private String buildYear;
  @ApiModelProperty(value = "总楼层")
  @JSONField(name = "totalfloor")
  private String totalFloor;
  @ApiModelProperty(value = "当前层")
  @JSONField(name = "currentfloor")
  private String currentFloor;
  @ApiModelProperty(value = "建筑面积")
  @JSONField(name = "buildingarea")
  private Double buildingArea;
  @ApiModelProperty(value = "使用面积")
  private Double useArea;
  @ApiModelProperty(value = "户型结构")
  @JSONField(name = "floorplantype")
  private String floorPlanType;
  @ApiModelProperty(value = "案例时间(成交,挂牌,法拍)")
  private String caseTime;
  @ApiModelProperty(value = "数据来源（经纪公司）")
  private String dataSource;
  @ApiModelProperty(value = "法拍ID")
  private Long foreclosureId;
  @ApiModelProperty(value = "法拍次数：首次、二次")
  @JSONField(name = "foreclosureTimes")
  private String foreclosureCount;
  @ApiModelProperty(value = "起拍单价(单位:元)")
  @JSONField(name = "valuationSqmPrice")
  private String valuationPrice;
  @ApiModelProperty(value = "法拍状态：核房、看房、签协议、保证金、竟拍成功、过户缴税、流拍等")
  @JSONField(name = "foreclosureStatusStr")
  private String foreclosureStatusName;

}